TEMPLATE = subdirs
CONFIG += ordered

SUBDIRS += \
    serializer \
    itemmodel \
    dtwenty \
#    dtwentymanager \
    dtwentydesigner

include(dtwentytools-defines.pri)


CONFIG(release,debug|release) {
# GET QT BINARY FILE DIRECTORY
QTLIB = $$[QT_INSTALL_BINS]

win32: {

# REPLACE BACKSLASHES WITH FORWARD SLASHES (replace uses regular expression)

QTLIB = $$replace(QTLIB, [\\\\], /) #BACKSLASHES NEED TO BE ESCAPED FOR QMAKE, AND THEN ESCAPED *AGAIN* FOR REGEXP

qt-install.files += $$QTLIB/*.dll

qt-install.path = $$DESTDIR

INSTALLS += qt-install
}
}
